package yl.hs.bmipfull.pojo.equipment;

import lombok.Data;
import lombok.EqualsAndHashCode;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/*
 * InspectionEntity
 * @category
 * @author 谢景广
 * @date 2022-11-14
 */
@EqualsAndHashCode(callSuper = true)
@DBTable(mapCode = "equipment_inspection",disName = "设备巡检")
@Data
public class DeviceInspectionEntity extends BaseEntity {
    private Long id;
    @DBField(isSerialNumber = true,disName = "编号", snPrefix = "INSP",mapCode = "sn")
    private String sn;
    private String equipmentSN;
    @DBField(disName = "设备名称",mapCode = "equipmentName")
    private String equipmentName;
    @DBField(disName = "巡检时间",mapCode = "inspectionTime")
    private Date inspectionTime;
    private String inspectionUserSN;
    @DBField(disName = "巡检人",mapCode = "inspectionUserName")
    private String inspectionUserName;
    @DBField(disName = "巡检状态",mapCode = "inspectionState")
    private String inspectionState;
    @DBField(disName = "巡检描述",mapCode = "inspectionDesc")
    private String inspectionDesc;
    private String inspectionImages;
    @DBField(disName = "处理状态",mapCode = "processState")
    private int processState;
    @DBField(disName = "整改要求",mapCode = "reorganize")
    private String reorganize;
    @DBField(disName = "整改状态",mapCode = "reorganizeState")
    private int reorganizeState;
    private String processorSN;
    @DBField(disName = "处理人",mapCode = "processorName")
    private String processorName;
    @DBField(disName = "处理时间",mapCode = "processTime")
    private Date processTime;
    @DBField(disName = "整改结果",mapCode = "reorganizeResult")
    private String reorganizeResult;
    private String reorganizeImage;
    @DBField(disName = "备注",mapCode = "remark")
    private String remark;
    private int state;


}
